package com.ruoyi.business.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 气体阀值设定对象 gas_threshold_settings
 * 
 * @author ruoyi
 * @date 2023-04-07
 */
public class GasThresholdSettings extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 阀值设置唯一标识符，主键
 */
    private Long id;

    /** 报警类型，包括甲醛浓度、SO2、H2S、CL2、HCL 和烟雾浓度
 */
    @Excel(name = "报警类型，包括甲醛浓度、SO2、H2S、CL2、HCL 和烟雾浓度 ")
    private Long alarmType;

    /** 阀值设定 */
    @Excel(name = "阀值设定")
    private Long thresholdValue;

    /** 删除标志（0代表存在 2代表删除） */
    private String delFlag;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setAlarmType(Long alarmType) 
    {
        this.alarmType = alarmType;
    }

    public Long getAlarmType() 
    {
        return alarmType;
    }
    public void setThresholdValue(Long thresholdValue) 
    {
        this.thresholdValue = thresholdValue;
    }

    public Long getThresholdValue() 
    {
        return thresholdValue;
    }
    public void setDelFlag(String delFlag) 
    {
        this.delFlag = delFlag;
    }

    public String getDelFlag() 
    {
        return delFlag;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("alarmType", getAlarmType())
            .append("thresholdValue", getThresholdValue())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("delFlag", getDelFlag())
            .toString();
    }
}
